
#include "successscene.h"

SuccessScene::SuccessScene(QWidget *parent)
    : QMainWindow{parent}
{
    this->setWindowTitle("原神（你被骗了）");
    this->setWindowIcon(QIcon("://resource/tubiao.png"));
}

void SuccessScene::paintEvent(QPaintEvent*)
{
    QPainter painter(this);
    QPixmap pix;
    pix.load(":/resource/successscene.jpg");
    pix.scaled(1024,648);
    painter.drawPixmap(0,0,1024,648,pix);
}
